Present
data class Present(val animated: Boolean = true, val presentationStyle: <Error class: unknown class> = UIModalPresentationAutomatic, val transitionStyle: <Error class: unknown class> = UIModalTransitionStyleCoverVertical, val present: () -> <Error class: unknown class>, val completion: () -> Unit? = null) : NavigationSpec
Lets the parent present a UIViewController using UIViewController.presentViewController.
Parameters
animated
Specifies whether transition should be animated
presentationStyle
The UIModalPresentationStyle to present the viewcontroller in. Defaults to UIModalPresentationAutomatic
transitionStyle
The UIModalTransitionStyle to transition to. Defaults to UIModalTransitionStyleCoverVertical
present
Function to create the UIViewController to present
completion
Optional function to call when presentation has completed